<?php

	require_once "Zend/Json.php";
	$page   = $_POST["page"];
	$pageid = $_POST["id"];
	
	$plugins -> page -> setPageModificationType( $page );
	$pagedata = $plugins -> page -> getPageById( $pageid );
	
	$pagename = ucfirst($pagedata->name);
	
	$data = array(
	"status"  => "true",
	"message" => "Data has been successfully loaded... Closing in 2 seconds...",
	"content" => ""
	);
	
	echo Zend_Json::encode($data);